Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change var name of pev to evspsblpot in forcing file fixes #11 #12

Merged
merged 3 commits into from
Feb 18, 2025

Conversation

RolfHut
Copy link
Contributor

@RolfHut RolfHut commented Jan 17, 2025

because generic lumped forcing was made consistent with EMSValTool names for potential evaporation, this broke. Now fixed by changing to correct var names

@RolfHut RolfHut requested a review from BSchilperoort January 17, 2025 10:23
Copy link
Member

@BSchilperoort BSchilperoort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Rolf, I just noticed that I had not looked at this yet.

Are you sure that things work correctly now? In the eWaterCycle fork of HBV-bmi I also added some unit checks and conversions. See this diff for the differences between David's version and the fork.

The CMOR formatted data uses kg/m2/s as units for pr and evspblpot. I.e. mm/s. While this HBV-bmi implementation uses mm/d (a bit more intuitive in a hydrology context).


Seeing how important the Python HBV implementation has become for eWaterCycle (both in teaching as well as your climate change impact study), maybe it would make sense to have @MarkMelotto take up unifying/cleaning up the eWaterCycle HBV and model+plugin. Working on this could help with getting a better understanding on the ecosystem. But I do understand that Mark has a lot of other tasks to work on as well!

HBV-bmi + ewatercycle-hbv could then be showcased as reference implementations (besides the barebones leakybucket template).

changed the "pev" in the docstring to "evspsblpot"
@MarkMelotto
Copy link
Contributor

Changed the docstring

removed to do

Co-authored-by: Bart Schilperoort <[email protected]>
@MarkMelotto MarkMelotto merged commit c6fd4bb into draft Feb 18, 2025
@MarkMelotto MarkMelotto deleted the fix_HBV_forcing branch February 18, 2025 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants